Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Spec Namespace / IPdfRefExt Class / Resolve Method / Resolve<T>(IPdfRef,Boolean) Method
The type of indirect PDF object.
The current IPdfRef.
Indicates whether to add a warning if referenced can't be resolved to an object of specified type.

In This Topic
    Resolve<T>(IPdfRef,Boolean) Method
    In This Topic
    Return actual IPdfObject referenced by the IPdfRef.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Resolve(Of T As IPdfObject)( _
       ByVal pr As IPdfRef, _
       Optional ByVal addWarning As System.Boolean _
    ) As T
    public static T Resolve<T>( 
       IPdfRef pr,
       System.bool addWarning
    )
    where T: IPdfObject

    Parameters

    pr
    The current IPdfRef.
    addWarning
    Indicates whether to add a warning if referenced can't be resolved to an object of specified type.

    Type Parameters

    T
    The type of indirect PDF object.

    Return Value

    The referenced PDF indirect object.
    See Also